|
|
@@ -72,9 +72,9 @@ module Agents
|
72
|
72
|
incoming_events.each do |event|
|
73
|
73
|
opts = interpolated(event)
|
74
|
74
|
if /^:/.match(opts[:icon])
|
75
|
|
- slack_notifier.ping opts[:message], channel: opts[:channel], username: opts[:username], icon_emoji: opts[:icon]
|
|
75
|
+ slack_notifier.ping opts[:message], channel: opts[:channel], username: opts[:username], icon_emoji: opts[:icon], unfurl_links: opts[:unfurl_links]
|
76
|
76
|
else
|
77
|
|
- slack_notifier.ping opts[:message], channel: opts[:channel], username: opts[:username], icon_url: opts[:icon]
|
|
77
|
+ slack_notifier.ping opts[:message], channel: opts[:channel], username: opts[:username], icon_url: opts[:icon], unfurl_links: opts[:unfurl_links]
|
78
|
78
|
end
|
79
|
79
|
end
|
80
|
80
|
end
|